#!/usr/bin/env python
import os
temp = open('etc/pathinit','r')
basedir = os.path.abspath('.')
setpath = open('bin/setpath.py','w')
setpath.write(temp.read().replace('init',basedir))
setpath.close()

